<div class="fui-page order-create-page fui-page-current" ng-if="pagedata.op == 'detail'">
	<div class="fui-content">
		<div id="carousel-container" class="carousel slide" data-role="carousel" data-param-auto="true">
			<div class="carousel-inner" role="listbox" style="height:6rem">
		<div ng-class="{'item':1,'active':$index==0}" ng-repeat="item in pagedata.banner">
			<a href="#">
				<img src="{{tomedia(item.image) || '../core/resource/images/banner-1.jpg'}}" style="display: block; width: 100%; height: 100%;">
			</a>
		</div>
		</div>
			<style>
					.fui-swipe-page .fui-swipe-bullet {background: {background}; opacity: {opacity};}
					.fui-swipe-page .fui-swipe-bullet.active {opacity: 1;}
			</style>
			<div id="carousel-jinyun" class="fui-swipe-page" style="padding: 0 5px; bottom: 10px; ">
				<div class="fui-swipe-bullet" ng-repeat="item in pagedata.banner" ng-class="{'active':$index==0}" data-target="#carousel-container" data-slide-to="{{$index}}"></div>
			</div>
		</div>
		<div class="weui_cells weui_cells_form" style="margin-top:0">
			<div class="weui_cell" style="padding:0.5rem 0">
				<div class="weui_cell_hd"><label class="weui_label"><i class="icon jinyunicon icon-gerenzhongxin" ></i> 访问:{{pagedata.activity.readnum || '0'}}次<i class="icon jinyunicon icon-yuding" style="margin-left:0.3rem"></i> 报名:{{pagedata.activity.num || '0'}}人<span ng-if="pagedata.activity.duration>0" class="store-distance" style="margin-left:0.3rem"> 讲座时长：约{{pagedata.activity.duration}}小时</span></label></div>
			</div>
		</div>
		<div ng-if="pagedata.activity.remark"  class="weui_cells_title">讲座介绍：</div>
		<div ng-if="pagedata.activity.remark" ng-bind-html="trust(pagedata.activity.remark)" class="weui_cells content-images" style="padding-top:0.5rem">
		</div>
		<div class="weui_cells" style="margin-top:0.5rem">
			<div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">讲座地址：</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <div class="weui_cell_hd"><label class="weui_label">{{pagedata.activity.address}}</label></div>					
                </div>
			</div>
			<div ng-if="pagedata.activity.organize" class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">讲座发起方：</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <div class="weui_cell_hd"><label class="weui_label">{{pagedata.activity.organize}}</label></div>					
                </div>
			</div>
			<div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">讲座开始时间：</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <div class="weui_cell_hd"><label class="weui_label">{{pagedata.activity.time}}</label></div>					
                </div>
			</div>
			<div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">报名截止时间：</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <div class="weui_cell_hd"><label class="weui_label">{{pagedata.activity.end}}</label></div>					
                </div>
			</div>
		</div>
		<div class="weui_btn_area">
			 <a class="weui_btn weui_btn_primary" href="javascript:"  ng-click="pagedata.check_buy()">立即报名</a>
		</div>
</div>
<script type="text/javascript">
scope.pagedata.check_buy=function(){
	var activityid=scope.pagedata.activity.id
	scope.get('jy_yiliao/baoming.detail/check_buy/activityid='+activityid,function(res){});
}
</script>
</div>